package com.sean.findme.other;

import android.app.ActivityGroup;
import android.content.Context;

import com.sean.findme.FmActivityInfo;
import com.sean.findme.FmActivityManager;
import com.sean.findme.search.SearchMainActivity;

public class OtherActivityManager extends FmActivityManager{
	
	private Context mContext;
	private static OtherActivityManager instance;

	public OtherActivityManager(Context mContext) {
		super(mContext);
		this.mContext = mContext;
		instance = this;
	}
	
	public static OtherActivityManager getInstance()
	{
		if( instance == null )
			instance = new OtherActivityManager(null);
		return instance;
	}

	@Override
	public void configFirstActivity(Context mContext) {
		FmActivityInfo info = new FmActivityInfo(OtherMainActivity.class, (ActivityGroup)mContext, null);
		this.getListActivityInfo().push(info);
		super.configFirstActivity(mContext);
	}
	
	
}
